package de.fhk.fst.dvr.association

import de.fhk.fst.dvr.user.User
import de.fhk.fst.dvr.user.UserGroup

class UserGroupAssociation {

  static constraints = {
  }


  static belongsTo = [user: User, group: UserGroup]

  static transients = ["adminGroup"]

  public String toString() {
    return group.toString()
  }

  public boolean isAdminGroup() {
    return group.isAdminGroup()
  }
}
